package com.team.merchant.domain.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.team.common.core.annotation.Excel;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

@Data
public class MerchantDetailVo {
    private Long id;

    /** 店面 */
    @Excel(name = "店面")
    private String merchantName;

    /** 经度 */
    @Excel(name = "经度")
    private BigDecimal longitude;

    /** 纬度 */
    @Excel(name = "纬度")
    private BigDecimal latitude;

    /** 联系人姓名 */
    @Excel(name = "联系人姓名")
    private String contactName;

    /** 联系人电话 */
    @Excel(name = "联系人电话")
    private String contactPhone;

    /** 门店缩略图 */
    @Excel(name = "门店缩略图")
    private String photo;

    /** 星级数 */
    @Excel(name = "星级数")
    private BigDecimal starAmount;

    /** 门店地址 */
    @Excel(name = "门店地址")
    private String address;

    /** 审核状态（0待审核、1已审核、2已拒绝） */
    @Excel(name = "审核状态", readConverterExp = "0=待审核、1已审核、2已拒绝")
    private Long auditStatusId;

    /** 销量 */
    @Excel(name = "销量")
    private Long sales;

    /** 状态（0正常、1停用） */
    @Excel(name = "状态", readConverterExp = "0=正常、1停用")
    private String status;


    /** 经营区域 */
    @Excel(name = "经营区域")
    private String operatingArea;

    /** 注册时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "注册时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date regTime;

    /** 开始营业时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "开始营业时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date startTime;

    /** 停止营业时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "停止营业时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date endTime;
    private String director;
    private String idCard;
    private String mobile;
    private String businessLicenseId;
    private String businessLicenseImg;
    private String front;
    private String opposite;
}
